package com.xinhe.web.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinhe.web.entity.OrderItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
@Data
@ApiModel(description = "订单退款查询视图")
public class OrderReturnDetailView {
    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("会员id")
    private Long userId;
    @ApiModelProperty("订单id")
    private Long orderId;
    @ApiModelProperty("订单项id")
    private Long orderItemId;
    @ApiModelProperty("状态")
    private String status;
    @ApiModelProperty("退款类型")
    private String returnType;
    @ApiModelProperty("审核说明")
    private String checkRemark;
    @ApiModelProperty("退款原因")
    private String cause;
    @ApiModelProperty("退款金额")
    private BigDecimal returnFee;
    @ApiModelProperty("备注")
    private String remark;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private OrderItem orderItem;
    private List<String> paths;
}
